var express = require('express');
var router = express.Router();
const TestsController = require("../controllers/TestsController")

//获取所有类型
router.get('/', TestsController.findAll)
//获取未完成试卷
router.post('/NotFinish', TestsController.findNotFinish)
//根据编号获取
router.get('/findById', TestsController.findById)
//修改试卷状态
router.get('/updateTestState', TestsController.updateTestState)

module.exports = router